package com.dream.house.dao;

import org.springframework.stereotype.Repository;

import cn.com.servyou.base.exception.DAOException;

import com.dream.house.dao.base.IDAO;
import com.dream.house.entity.ReturnDTO;

/**
 * 退房信息DAO
 * @author ahk
 * @since 1.0
 */
@Repository
public interface ReturnDAO extends IDAO {
	
	boolean saveReturn(ReturnDTO dto) throws DAOException;
	
	boolean updateReturn(ReturnDTO dto) throws DAOException;
	
	boolean removeReturn(String id) throws DAOException;
	
	ReturnDTO getReturn(String id) throws DAOException;

	ReturnDTO getReturnsByType(String type,String record_id) throws DAOException;
}
